Skip to content

Instantly share code, notes, and snippets.

@pipethedev
pipethedev / TypeScript Anti-Slop SKILL.md
Created September 10, 2026 05:40
Anti slop skill for typescript
name anti-slop-typescript
description Simplify TypeScript code by removing defensive over-engineering, fake type safety, unnecessary helpers, redundant runtime checks, and abstraction noise.

TypeScript Anti-Slop

Apply these rules whenever modifying TypeScript or JavaScript code.

The goal is simple, readable, strongly typed code that trusts the type system and validates only at real boundaries.

@astrojuanlu
astrojuanlu / pool_futures.py
Last active September 10, 2026 10:29
Comparison between multiprocessing Pool and ProcessPoolExecutor from concurrent.futures.
def hard_work(n):
""" A naive factorization method. Take integer 'n', return list of
factors.
"""
# Do some CPU bond work here
if n < 2:
return []
factors = []
p = 2
@monperrus
monperrus / claude-weekly-reset.md
Last active September 10, 2026 10:29
Claude Code: the 'weekly' usage limit resets every 72 hours, not 7 days

Claude Max: The "Weekly" Limit Resets Every 72 Hours, Not 7 Days

Background

Claude Pro/Max plans expose a usage API at https://claude.ai/api/oauth/usage that returns two utilization counters:

  • five_hour.utilization — a rolling 5-hour window (well documented)
  • seven_day.utilization — described as a "weekly" cap

The seven_day object also contains a resets_at field. Monitoring this field over ~11 days (June 9–20, 2026) revealed that the "weekly" limit does not reset every 7 days — it resets every 72 hours.

@k16shikano
k16shikano / SKILL.md
Last active September 10, 2026 10:29
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

@supermarsx
supermarsx / docker-health-checks.md
Last active September 10, 2026 10:25
Docker Compose Healthchecks for containers

Docker Compose Healthchecks

Healthchecks let Docker verify that a container is actually ready and responding (not just “running”). This README gives you:

  • A 2‑minute intro to how healthchecks work in Compose
  • Ready‑to‑paste examples for common services (MariaDB, Nextcloud FPM, Nginx, Portainer, Gitea, Registry, Redis, Drone…)
  • Patterns, best practices, and troubleshooting tips
  • How to wire healthchecks into depends_on so stacks start in the right order

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active September 10, 2026 10:24
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

UO Outlands on Mac (Apple Silicon) - Installation Guide

A guide to running UO Outlands natively on Apple Silicon Macs (M1/M2/M3/M4) using Wine.

Credit: Based on Vercillo's method from the UO Outlands Discord (#unofficial-mac-linux-support channel).

Prerequisites

1. Install Rosetta 2

Required for running Intel-based components:

@ocombe
ocombe / README.md
Last active September 10, 2026 10:20
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
(?i)((access_key|access_token|admin_pass|admin_user|algolia_admin_key|algolia_api_key|alias_pass|alicloud_access_key|amazon_secret_access_key|amazonaws|ansible_vault_password|aos_key|api_key|api_key_secret|api_key_sid|api_secret|api.googlemaps AIza|apidocs|apikey|apiSecret|app_debug|app_id|app_key|app_log_level|app_secret|appkey|appkeysecret|application_key|appsecret|appspot|auth_token|authorizationToken|authsecret|aws_access|aws_access_key_id|aws_bucket|aws_key|aws_secret|aws_secret_key|aws_token|AWSSecretKey|b2_app_key|bashrc password|bintray_apikey|bintray_gpg_password|bintray_key|bintraykey|bluemix_api_key|bluemix_pass|browserstack_access_key|bucket_password|bucketeer_aws_access_key_id|bucketeer_aws_secret_access_key|built_branch_deploy_key|bx_password|cache_driver|cache_s3_secret_key|cattle_access_key|cattle_secret_key|certificate_password|ci_deploy_password|client_secret|client_zpk_secret_key|clojars_password|cloud_api_key|cloud_watch_aws_access_key|cloudant_password|cloudflare_api_key|cloudflare_auth_k